//
//  ZDFeeCell.m
//  TCProject
//
//  Created by admin on 16/1/25.
//  Copyright © 2016年 wise-wing. All rights reserved.
//

#import "ZDFeeCell.h"

@interface  ZDFeeCell()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;


@end

@implementation ZDFeeCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setFee:(TypeCharge *)fee{
    _fee = fee;
    _titleLabel.text = fee.typeName;
    _priceLabel.text = [NSString stringWithFormat:@"￥%.1f", _fee.charge];
}

@end
